﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace God.ShoppingWebApi.Entities
{
  public  class Roles : AuditedEntity<Guid>
    {
       

        /// <summary>
        /// 角色名称
        /// </summary>

        public string RoleName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime Create_time { get; set; }
        /// <summary>
        /// 更新日期
        /// </summary>
        public DateTime Update_time { get; set; }
        /// <summary>
        /// 角色描述描述
        /// </summary>
      
        public string Describe { get; set; }


        public Roles()
        {

        }

        public Roles(Guid id, string roleName, int status, DateTime create_time, DateTime update_time, string describe, Guid? lastfierId) 
        {
            RoleName = roleName;
            Status = status;
            Create_time = create_time;
            Update_time = update_time;
            Describe = describe;
            LastModificationTime = DateTime.Now;
            CreationTime = DateTime.Now;
            CreatorId = lastfierId;
            LastModifierId = lastfierId;
        }
    }
}
